Selection in planning